#ifndef _LOGMGR_H_
#define _LOGMGR_H_
#include <stdio.h>

#define MAX_LOG_BUFF 256
#define DEBUG_PRINT(format) \
	LogMgr::print(__FILE__,__LINE__,__TIME__,format)

class LogMgr
{
public:
	
//	LogMgr(FILE *pf = stdout);

	/*	function : log print 
		desc: dependences on m_pFile */
	static int print(
		const char* szFunc, 
		const int nLine ,
		const char* szTime,
		const char* format, 
		...
		);
private:
	static FILE * m_pFile;
};

#endif /*_LOGMGR_H_*/